package com.huruwo.serialporthelper.utils;

/**
 * SYN RES PTROL ADDR SLEN COMMAND APPDATA CRC16
 * 2   3   1     2    2    2       *       2    字节
 * // 1个字节对应字符串2位
 */

public class Protocols {

//    public static final byte[] FRAME_HEAD = {(byte) 0xAA, (byte) 0x00 };
//
//    public static final byte FRAME_HEAD_0 = FRAME_HEAD[0];
//
//    public static final byte FRAME_HEAD_1 = FRAME_HEAD[1];
//
//    public static final int MIN_SIZE = 5;

    public static final byte[] FRAME_HEAD = { 0x3A, (byte) 0xA3 };

    public static final byte FRAME_HEAD_0 = FRAME_HEAD[0];

    public static final byte FRAME_HEAD_1 = FRAME_HEAD[1];

    public static final int MIN_SIZE = 2 + 3 + 1 + 8 + 2 + 2 + 2;
}
